package com.ztgf.file.models.service;

import com.ztgf.file.models.bo.FileInfoSaveBO;
import com.ztgf.file.models.dto.FileInfoDTO;
import com.ztgf.file.models.dto.FileWatermarkDTO;
import com.ztgf.file.models.vo.FileInfoVO;


public interface IFileService {

    FileInfoVO uploadImage(FileInfoSaveBO saveBO, FileWatermarkDTO watermarkDTO) throws Exception;

    String batchUploadImage(FileInfoSaveBO saveBO) throws Exception;

    FileInfoVO uploadFile(FileInfoSaveBO saveBO) throws Exception;

    String batchUploadFile(FileInfoSaveBO saveBO) throws Exception;

    void doImage(FileInfoDTO dto, byte[] bates, FileWatermarkDTO watermarkDTO) throws Exception;

    byte[] downloadFile(String filePath) throws Exception;
}
